﻿using System;
namespace hf.Model
{
	/// <summary>
	/// Answer:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Answer
	{
		public Answer()
		{}
		#region Model
		private int _id;
		private int _askid;
		private DateTime _addtime;
		private string _content;
		private int _lawyerid;
		private string _secretcontent;
		/// <summary>
		/// 答案编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 问题ID
		/// </summary>
		public int AskID
		{
			set{ _askid=value;}
			get{return _askid;}
		}
		/// <summary>
		/// 回复时间
		/// </summary>
		public DateTime Addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 回复内容
		/// </summary>
		public string Content
		{
			set{ _content=value;}
			get{return _content;}
		}
		/// <summary>
		/// 律师ID
		/// </summary>
		public int LawyerID
		{
			set{ _lawyerid=value;}
			get{return _lawyerid;}
		}
		/// <summary>
		/// 私密回复
		/// </summary>
		public string SecretContent
		{
			set{ _secretcontent=value;}
			get{return _secretcontent;}
		}
        /// <summary>
        /// 是否为最佳答案
        /// </summary>
        public int isBest { get; set; }
        /// <summary>
        /// 回复律师 
        /// </summary>
        public hf.Model.Lawyer lawyer { get; set; }
		#endregion Model

	}
}

